import axios from '~/axios'
export function addmvideo(data) {
    return axios({
        url: '/yinyue/add',
        method: 'post',
        data
    })
}
export function addgeci(data) {
    return axios({
        url: '/geci/add',
        method: 'post',
        data
    })
}
export function geciList(params) {
    return axios({
        url: '/geci/list',
        method: 'get',
        params
    })
}
export function deleteVideo(id) {
    return axios({
        url: '/yinyue/delete/'+id,
        method: 'delete',
    })
}
export function getvideoList(params) {
    return axios({
        url: '/yinyue/list',
        method: 'get',
        params
    })
}
export function getUserList(params) {
    return axios({
        url: '/user/list',
        method: 'get',
        params
    })
}
export function getTimuList(params) {
    return axios({
        url: '/geshou/list',
        method: 'get',
        params
    })
}
export function addmeal(data) {
    return axios({
        url: '/system/meal',
        method: 'post',
        data
    })
}
export function addgeshou(data) {
    return axios({
        url: '/geshou/add',
        method: 'post',
        data
    })
}
export function editgeshou(data) {
    return axios({
        url: '/geshou/edit',
        method: 'post',
        data
    })
}
export function getmeal(params) {
    return axios({
        url: '/system/meal/getList',
        method: 'get',
        params
    })
}
export function changeStatus(params) {
    return axios({
        url: '/xinxi/changeStatus',
        method: 'get',
        params
    })
}
export function getLeixingList(params) {
    return axios({
        url: '/leixing/list',
        method: 'get',
        params
    })
}
export function getxinxiList(params) {
    return axios({
        url: '/xinxi/list',
        method: 'get',
        params
    })
}
export function dowlon(params) {
    return axios({
        url: '/dowlon',
        method: 'get',
        params,
        responseType: 'blob'
    })
}
export function getapplyList(params) {
    return axios({
        url: '/apply/list',
        method: 'get',
        params
    })
}
export function getziChanList(params) {
    return axios({
        url: '/ziChan/list',
        method: 'get',
        params
    })
}
export function getUSerInfo() {
    return axios({
        url: '/user/getUSerInfo',
        method: 'get',

    })
}
export function deptDelete(id) {
    return axios({
        url: '/dept/delete/' + id,
        method: 'get',

    })
}
export function timuDelete(id) {
    return axios({
        url: '/system/timu/delete/' + id,
        method: 'delete',

    })
}
export function ziChanUpdate(data) {
    return axios({
        url: '/ziChan/update',
        method: 'post',
        data

    })
}
export function videoUpdate(data) {
    return axios({
        url: '/yinyue/edit',
        method: 'post',
        data

    })
}
export function daanAdd(data) {
    return axios({
        url: '/system/daan/add',
        method: 'post',
        data

    })
}
export function daanlist(data) {
    return axios({
        url: '/system/daan/list',
        method: 'get',
        params:data

    })
}
export function applyAdd(data) {
    return axios({
        url: '/apply/add',
        method: 'post',
        data

    })
}
export function ziChanDelete(id) {
    return axios({
        url: '/ziChan/delete/' + id,
        method: 'get',

    })
}
export function ziChanAdd(data) {
    return axios({
        url: '/ziChan/add',
        method: 'post',
        data

    })
}
export function deptAdd(data) {
    return axios({
        url: '/dept/add',
        method: 'post',
        data

    })
}
export function deptUpdate(data) {
    return axios({
        url: '/user/update',
        method: 'post',
        data

    })
}
export function gonggaoUpdate(data) {
    return axios({
        url: '/gonggao/update',
        method: 'post',
        data

    })
}
export function yongpinUpdate(data) {
    return axios({
        url: '/yongpin/update',
        method: 'post',
        data

    })
}
export function shipinfenleiUpdate(data) {
    return axios({
        url: '/fenlei/update',
        method: 'post',
        data

    })
}
export function shipinUpdate(data) {
    return axios({
        url: '/shipin/update',
        method: 'post',
        data

    })
}
export function yimiaoUpdate(data) {
    return axios({
        url: '/yimiao/update',
        method: 'post',
        data

    })
}
export function jiankangUpdate(data) {
    return axios({
        url: '/jiankang/update',
        method: 'post',
        data

    })
}
export function jiezhongUpdate(data) {
    return axios({
        url: '/jiezhong/update',
        method: 'post',
        data

    })
}
export function yuyueUpdate(data) {
    return axios({
        url: '/yuyue/update',
        method: 'post',
        data

    })
}
export function chongwuUpdate(data) {
    return axios({
        url: '/chongwu/update',
        method: 'post',
        data

    })
}
export function leixingUpdate(data) {
    return axios({
        url: '/leixing/update',
        method: 'post',
        data

    })
}
////////////////11111111111
export function getBanjiList() {
    return axios.get("/banji/list")
}
export function logging(data) {
    return axios({
        url: '/user/login',
        method: 'post',
        data
    })
}
export function update(data) {
    return axios({
        url: '/user/update',
        method: 'post',
        data
    })
}
export function shenhe(params) {
    return axios({
        url: '/shenhe',
        method: 'get',
        params
    })
}
export function deleteee(params) {
    return axios({
        url: '/deletee',
        method: 'get',
        params
    })
}
export function loginsucc(params) {
    return axios({
        url: '/user/getInfo',
        method: 'get',
        params
    })
}
export function zwList(params) {
    return axios({
        url: '/zwList',
        method: 'get',
        params
    })
}
export function dowon(params) {
    return axios({
        url: '/dowlon',
        method: 'get',
        responseType: 'blob',
        params
    })
}
export function deletee(id) {
    return axios({
        url: '/user/delete/' + id,
        method: 'delete',
    })
}
export function gonggaodeletee(id) {
    return axios({
        url: '/gonggao/delete/' + id,
        method: 'delete',
    })
}
export function yongpindeletee(id) {
    return axios({
        url: '/yongpin/delete/' + id,
        method: 'delete',
    })
}
export function geshoudeletee(id) {
    return axios({
        url: '/geshou/delete/' + id,
        method: 'delete',
    })
}
export function shipindeletee(id) {
    return axios({
        url: '/shipin/delete/' + id,
        method: 'delete',
    })
}
export function jiankangdeletee(id) {
    return axios({
        url: '/jiankang/delete/' + id,
        method: 'delete',
    })
}
export function jiezhongdeletee(id) {
    return axios({
        url: '/jiezhong/delete/' + id,
        method: 'delete',
    })
}
export function yuyuedeletee(id) {
    return axios({
        url: '/yuyue/delete/' + id,
        method: 'delete',
    })
}
export function yimiaodeletee(id) {
    return axios({
        url: '/yimiao/delete/' + id,
        method: 'delete',
    })
}
export function chongwudeletee(id) {
    return axios({
        url: '/chongwu/delete/' + id,
        method: 'delete',
    })
}
export function leixingDelete(id) {
    return axios({
        url: '/leixing/delete/' + id,
        method: 'delete',
    })
}
export function xinxiDelete(id) {
    return axios({
        url: '/xinxi/delete/' + id,
        method: 'delete',
    })
}
export function yongpinfenleideletee(id) {
    return axios({
        url: '/yongpinfenlei/delete/' + id,
        method: 'delete',
    })
}
export function getStudents(params) {
    return axios({
        url: '/user/getStudents',
        method: 'get',
        params
    })
}
export function pingfen(params) {
    return axios({
        url: '/zuoye/pingfen',
        method: 'get',
        params
    })
}
export function pigaiList(params) {
    return axios({
        url: '/zuoye/pigaiList',
        method: 'get',
        params
    })
}
export function xgStatus(params) {
    return axios({
        url: '/zuoye/xgStatus',
        method: 'get',
        params
    })
}
export function zuoyeChakan(params) {
    return axios({
        url: '/zuoye/chakan',
        method: 'get',
        params
    })
}
export function add(params) {
    return axios({
        url: '/zuoye/add',
        method: 'get',
        params
    })
}
export function chakan(params) {
    return axios({
        url: '/banji/chakan',
        method: 'get',
        params
    })
}
export function reg(data) {
    return axios({
        url: '/user/reg',
        method: 'post',
        data
    })
}
export function regGonggao(data) {
    return axios({
        url: '/gonggao/add',
        method: 'post',
        data
    })
}
export function regshipinfenlei(data) {
    return axios({
        url: '/fenlei/add',
        method: 'post',
        data
    })
}
export function regshipin(data) {
    return axios({
        url: '/shipin/add',
        method: 'post',
        data
    })
}
export function regyongpinfenlei(data) {
    return axios({
        url: '/yongpinfenlei/add',
        method: 'post',
        data
    })
}
export function regyongpin(data) {
    return axios({
        url: '/yongpin/add',
        method: 'post',
        data
    })
}
export function regjiankang(data) {
    return axios({
        url: '/jiankang/add',
        method: 'post',
        data
    })
}
export function regjiezhong(data) {
    return axios({
        url: '/jiezhong/add',
        method: 'post',
        data
    })
}
export function regyuyue(data) {
    return axios({
        url: '/yuyue/add',
        method: 'post',
        data
    })
}
export function regYimiao(data) {
    return axios({
        url: '/yimiao/add',
        method: 'post',
        data
    })
}
export function regchongwu(data) {
    return axios({
        url: '/chongwu/add',
        method: 'post',
        data
    })
}
export function leixingAdd(data) {
    return axios({
        url: '/leixing/add',
        method: 'post',
        data
    })
}
export function xinxiAdd(data) {
    return axios({
        url: '/xinxi/add',
        method: 'post',
        data
    })
}
export function wanjie(data) {
    return axios({
        url: '/xinxi/wanjie',
        method: 'get',
        params: data
    })
}
export function gonggaoList(data) {
    return axios({
        url: '/gonggao/list',
        method: 'get',
        params: data
    })
}
export function shipinfenleiList(data) {
    return axios({
        url: '/fenlei/list',
        method: 'get',
        params: data
    })
}
export function shipinList(data) {
    return axios({
        url: '/shipin/list',
        method: 'get',
        params: data
    })
}
export function yongpinfenleiList(data) {
    return axios({
        url: '/yongpinfenlei/list',
        method: 'get',
        params: data
    })
}
export function yongpinfenleiUpdate(data) {
    return axios({
        url: '/yongpinfenlei/update',
        method: 'post',
        data
    })
}
export function yongpinList(data) {
    return axios({
        url: '/yongpin/list',
        method: 'get',
        params: data
    })
}
export function jiankangList(data) {
    return axios({
        url: '/jiankang/list',
        method: 'get',
        params: data
    })
}
export function jiezhongList(data) {
    return axios({
        url: '/jiezhong/list',
        method: 'get',
        params: data
    })
}
export function yuyueList(data) {
    return axios({
        url: '/yuyue/list',
        method: 'get',
        params: data
    })
}
export function yimiaoList(data) {
    return axios({
        url: '/yimiao/list',
        method: 'get',
        params: data
    })
}
export function chongwuList(data) {
    return axios({
        url: '/chongwu/list',
        method: 'get',
        params: data
    })
}